.class Lcom/instagram/android/directshare/d/e;
.super Lcom/instagram/android/d/k/l;
.source "InboxFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/k/l",
        "<",
        "Lcom/instagram/android/directshare/b/b/a;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/directshare/d/d;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/d/d;)V
    .locals 0
    .parameter

    .prologue
    .line 123
    iput-object p1, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-direct {p0}, Lcom/instagram/android/d/k/l;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 127
    invoke-super {p0}, Lcom/instagram/android/d/k/l;->a()V

    .line 128
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/android/directshare/d/n;->a(Z)V

    .line 129
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/n;->b(Z)V

    .line 130
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 131
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/a/c;->a(Z)V

    .line 133
    :cond_0
    return-void
.end method

.method public a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 137
    invoke-super {p0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/h;)V

    .line 138
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/n;->a(Z)V

    .line 139
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 140
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 142
    :cond_0
    return-void
.end method

.method protected a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V
    .locals 3
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/instagram/android/d/k/m",
            "<",
            "Lcom/instagram/android/directshare/b/b/a;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 175
    invoke-super {p0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V

    .line 177
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/n;->b(Z)V

    .line 179
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->c(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/a;->notifyDataSetChanged()V

    .line 180
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->getContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 181
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/d;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->network_error:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 183
    :cond_0
    invoke-static {}, Lcom/instagram/android/directshare/a/a;->a()V

    .line 184
    return-void
.end method

.method public a(Lcom/instagram/android/directshare/b/b/a;)V
    .locals 2
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 146
    invoke-super {p0, p1}, Lcom/instagram/android/d/k/l;->a(Ljava/lang/Object;)V

    .line 148
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/d/n;->b(Z)V

    .line 151
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->b(Lcom/instagram/android/directshare/d/d;)V

    .line 153
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->c(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/a;->a()V

    .line 154
    invoke-static {}, Lcom/instagram/android/directshare/d/s;->a()Lcom/instagram/android/directshare/d/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/s;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 155
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->c(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/a;->getCount()I

    move-result v0

    invoke-static {v0}, Lcom/instagram/android/directshare/a/a;->a(I)V

    .line 158
    :cond_0
    invoke-static {}, Lcom/instagram/android/directshare/j/a;->a()Lcom/instagram/android/directshare/j/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/j/a;->b()V

    .line 160
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->d(Lcom/instagram/android/directshare/d/d;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 161
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->e(Lcom/instagram/android/directshare/d/d;)V

    .line 162
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;Z)Z

    .line 168
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->f(Lcom/instagram/android/directshare/d/d;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getLastVisiblePosition()I

    move-result v0

    iget-object v1, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v1}, Lcom/instagram/android/directshare/d/d;->f(Lcom/instagram/android/directshare/d/d;)Landroid/widget/ListView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/ListView;->getCount()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v0, v1, :cond_2

    .line 169
    iget-object v0, p0, Lcom/instagram/android/directshare/d/e;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0}, Lcom/instagram/android/directshare/d/d;->a(Lcom/instagram/android/directshare/d/d;)Lcom/instagram/android/directshare/d/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/d/n;->a()V

    .line 171
    :cond_2
    return-void
.end method

.method public bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 123
    check-cast p1, Lcom/instagram/android/directshare/b/b/a;

    invoke-virtual {p0, p1}, Lcom/instagram/android/directshare/d/e;->a(Lcom/instagram/android/directshare/b/b/a;)V

    return-void
.end method
